<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo 'Notatkownik.pl - ' . (isset($title) ? $title : 'portal wymiany notatek') ?></title>
        <base href="<?php echo base_url(); ?>" />
        <link rel="shortcut icon" href="<?php echo base_url(); ?>favicon.ico" />
        <link type="text/css" rel="stylesheet" href="resource/css/style.css" />
        <?php if (isset($stylesheets)) : ?>
        <?php foreach ($stylesheets as $stylesheet): ?>
        <link type="text/css" rel="stylesheet" href="<?php echo $stylesheet ?>" />
        <?php endforeach ?>
        <?php endif ?>
            </head>
            <body>
                <div id="wrapper">
                    <div id="header">
                        <div id="header_left">
                            <h1><?php echo anchor('', '<img src="resource/img/logo.png"/>'); ?></h1>
                        </div>
                        <div id="header_right">
                            <div id="login_menu">
                                <ul >
                            <?php if ($this->authentication->is_signed_in()) : ?>
                                <li><?php echo anchor('account/sign_out', lang('website_sign_out')); ?></li>
                                <li><?php echo anchor('account/account_settings', lang('website_account')); ?></li>
                                <li><?php echo sprintf(lang('website_welcome_username'), '<strong>' . $account->username . '</strong>'); ?></li>
                            <?php else : ?>
                                    <li><?php echo anchor('account/sign_in', lang('website_sign_in')); ?></li>
                                    <li><?php echo anchor('account/sign_up', lang('website_sign_up')); ?></li>
                                    <li class="social">
                                <?php echo anchor('account/connect_facebook', '<img src="resource/img/facebook.png"/>') ?>
                                </li>
                                <li>zaloguj się przez</li>



                            <?php endif; ?>
                        </ul>
                    </div>
                    <div id="menu">
                        <img src="resource/img/menu.png"/>
                    </div>
                </div>
            </div>